<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>生命周期</title>
    <script src="../../assets/js/17.0.1/react.development.js"></script>
    <script src="../../assets/js/17.0.1/react-dom.development.js"></script>
    <script src="../../assets/js/17.0.1/babel.min.js"></script>
    <script src="../../assets/js/17.0.1/prop-types.js"></script>
    <script type="text/babel" src="index.js"></script>
    <style>
        .list{
           height: 150px;
            background: #ccc;
            width: 200px;
            overflow-y: scroll;
        }
        .news{
            height: 30px;
        }
    </style>

</head>
<body>
  <div id="test"> </div>
  <div id="test2"> </div>
</body>
</html>
